package com.example.entity;

public class Order {
	/**
	 * 订单Id
	 */
	private String orderId;
	/**
	 * 商品
	 */
	private Long goodsId;
	/**
	 * 用户名
	 */
	private String userName;
	/**
	 * 购买商品数量
	 */
	private Long buyGoodsNum = 0L;

	public String getOrderId() {
		return orderId;
	}

	public Order setOrderId(String orderId) {
		this.orderId = orderId;
		return this;
	}

	public Long getGoodsId() {
		return goodsId;
	}

	public Order setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
		return this;
	}

	public String getUserName() {
		return userName;
	}

	public Order setUserName(String userName) {
		this.userName = userName;
		return this;
	}

	public Long getBuyGoodsNum() {
		return buyGoodsNum;
	}

	public Order setBuyGoodsNum(Long buyGoodsNum) {
		this.buyGoodsNum = buyGoodsNum;
		return this;
	}

}
